public class Max {
    public static void main(String[] args) {
        int a = 5, b = 4, c = 3;
        int temp1, temp2;
        if (a < b)
            temp1 = b;
        else
            temp1 = a;

        if (temp1 < c)
            temp2 = c;
        else
            temp2 = temp1;
        System.out.println(temp2);
    }
}
